﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace WeChatParking.Web.Controllers
{
    public class WxController : Controller
    {
        //
        // GET: /Wx/

        public ActionResult Index()
        {
            return Content(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
        }
        public ActionResult WxMsgNotify(string accessToken)
        {
            var svc = (Core.BLL.IWXMsgNotify)new Core.BLL.WxMsgNotify_Fuwuhao();
            svc.SendAll();
            return Content("OK");
        }
    }
}
